package com.rightsidetech.trade.dtos.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class TdCommodityAppOrderDetailZPResp implements Serializable {
    @ApiModelProperty("商品id")
    private Long commodityId;

    @ApiModelProperty("商品名称")
    private String commodityName;

    @ApiModelProperty("购买方式,  0-直接买新, 1-以旧换新")
    private Byte buyType;

    @ApiModelProperty("商品条码")
    private String commodityBarCode;

    @ApiModelProperty("商品规格")
    private String commoditySpecs;

    @ApiModelProperty("原价")
    private String underlinedPrice;

    @ApiModelProperty("单件价格")
    private BigDecimal commodityPrice;

    @ApiModelProperty("商品数量")
    private Integer commodityNum;

    @ApiModelProperty("商品标签, 0-商品, 1-赠品, 2-超值换购")
    private Byte commodityTag;

    @ApiModelProperty("商品图片")
    private String picture;
}
